Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Applet Control Functions /


JMGetViewerFrame

Finds the parent frame for a given applet.

OSStatus JMGetViewerFrame (
                     JMAppletViewerRef viewer, 
                     JMFrameRef* frame);
viewer
The applet whose parent frame you want to find.
frame
A pointer to the parent frame. On return, this parameter is the parent frame associated with the applet.
function result
A result code; see "JManager Result Codes".
DISCUSSION
In the AWT context associated with the applet, the frame index of the parent frame is 0.

SEE ALSO
The JMCountAWTContextFrames function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997